<form class="form-horizontal">

    <div class="form-group">
        <label class="control-label col-xs-12" style="text-align: left;">基本信息：</label>
    </div>
    <div class="form-group">
        <div class="col-xs-12">
            <table class="table table-striped table-bordered">
                <thead>
                <tr>
                    <td>订单id</td>
                    <td>订单号</td>
                    <td>买家</td>
                    <td>订单状态</td>
                    <td>总金额</td>
                    <td>商品总价</td>
                    <td>运费</td>
<!--                    <td>{:config('coin_title')}</td>-->
                    <td>应付金额</td>
<!--                    <td>是否升级VIP</td>-->
<!--                    <td>赠送{:config('coin_title')}</td>-->
<!--                    <td>赠送{:config('sugar_title')}</td>-->
                    <td>下单时间</td>
<!--                    <td>买家留言</td>-->
                </tr>
                </thead>
                <tbody>
                <tr>
                    <td>
                        <div class="col-xs-12">{$info.id} </div>
                    </td>
                    <td>
                        <div class="col-xs-12">{$info.order_sn} </div>
                    </td>
                    <td>
                        <div class="col-xs-12">ID:{$uinfo.id} / 手机号:{$uinfo.selfphone} / 昵称:{$uinfo.username}</div>
                    </td>
                    <td>
                        <div class="col-xs-12">
                            {if $info['status']==0}
                            <label class="label label-info">未支付</label>
                            {elseif $info['status']==1}
                            <label class="label label-success">待发货</label>
                            {elseif $info['status']==2}
                            <label class="label label-warning">待收货</label>
                            {elseif $info['status']==3}
                            <label class="label label-default">已完成</label>
                            {elseif $info['status']==-1}
                            <label class="label label-danger">已取消</label>
                            {else}
                            无效订单
                            {/if}
                        </div>
                    </td>

                    <td>
                        <div class="col-xs-12">{$info.total_price}</div>
                    </td>
                    <td>
                        <div class="col-xs-12">{$info.goods_price} </div>
                    </td>
                    <td>
                        <div class="col-xs-12">{$info.dispatch_price}</div>
                    </td>
<!--                    <td>-->
<!--                        <div class="col-xs-12">{$info.coin}</div>-->
<!--                    </td>-->
                    <td>
                        <div class="col-xs-12">{$info.money}</div>
                    </td>
<!--                    <td>-->
<!--                        <div class="col-xs-12">-->
<!--                            {if $info['is_vip']}-->
<!--                            <label class="label label-success">可升级</label>-->
<!--                            {else/}-->
<!--                            <label class="label label-danger">不升级</label>-->
<!--                            {/if}-->
<!--                        </div>-->
<!--                    </td>-->
<!--                    <td>-->
<!--                        <div class="col-xs-12">{$info.send_coin}</div>-->
<!--                    </td>-->
<!--                    <td>-->
<!--                        <div class="col-xs-12">{$info.send_sugar}</div>-->
<!--                    </td>-->
                    <td>
                        <div class="col-xs-12">{$info.create_time}</div>
                    </td>
                    <td>
                        <div class="col-xs-12">{$info.message}</div>
                    </td>
                </tr>
                </tbody>

            </table>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12" style="text-align: left;">支付信息：</label>
    </div>
    <div class="form-group">
        <div class="col-xs-12">
            <table class="table table-striped table-bordered">
                <thead>
                <tr>
                    <td>支付方式</td>
                    <td>支付金额</td>
                    <td>支付时间</td>
                    <td>支付单号</td>
                </tr>
                </thead>
                <tbody>
                <tr>
                    <td>
                        <div class="col-xs-12">{$info.pay_type} </div>
                    </td>
                    <td>
                        <div class="col-xs-12">{$info.pay_money} </div>
                    </td>
                    <td>
                        <div class="col-xs-12">{$info.pay_time} </div>
                    </td>
                    <td>
                        <div class="col-xs-12">{$info.pay_sn} </div>
                    </td>
                </tr>
                </tbody>

            </table>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12" style="text-align: left;">发货信息：</label>
    </div>
    <div class="form-group">
        <div class="col-xs-12">
            <table class="table table-striped table-bordered">
                <thead>
                <tr>
                    <td>收货人</td>
                    <td>联系方式</td>
                    <td>收货地址</td>
                    <td>快递公司</td>
                    <td>快递单号</td>
                    <td>发货时间</td>
                    <td>收货时间</td>
                </tr>
                </thead>
                <tbody>
                <tr>
                    <td>
                        <div class="col-xs-12">{$info.send_name} </div>
                    </td>
                    <td>
                        <div class="col-xs-12">{$info.send_mobile} </div>
                    </td>
                    <td>
                        <div class="col-xs-12">{$info.send_address} </div>
                    </td>
                    <td>
                        <div class="col-xs-12">{$info.send_company} </div>
                    </td>
                    <td>
                        <div class="col-xs-12">{$info.send_sn} </div>
                    </td>
                    <td>
                        <div class="col-xs-12">{$info.send_time|show_datetime} </div>
                    </td>
                    <td>
                        <div class="col-xs-12">{$info.receive_time|show_datetime} </div>
                    </td>
                </tr>
                </tbody>

            </table>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12" style="text-align: left;">商品信息：</label>
    </div>
    <div class="form-group">
        <div class="col-xs-12">
            <table class="table table-striped table-bordered">
                <thead>
                <tr>
                    <td>ID</td>
                    <td>名称</td>
                    <td>图片</td>
                    <td>规格</td>
                    <td>数量</td>
                    <td>单价</td>
<!--                    <td>可用{:config('coin_title')}比例</td>-->
<!--                    <td>是否VIP</td>-->
<!--                    <td>赠送{:config('coin_title')}</td>-->
<!--                    <td>赠送{:config('sugar_title')}</td>-->
                </tr>
                </thead>
                <tbody>
                {foreach $info['data'] as $item}
                <tr>
                    <td>
                        <div class="col-xs-12">{$item.goods_id} </div>
                    </td>
                    <td>
                        <div class="col-xs-12">{$item.title} </div>
                    </td>
                    <td>
                        <div class="col-xs-12">
                            <img src="{$item.img_url}" style="width: 50px;" />
                        </div>
                    </td>
                    <td>
                        <div class="col-xs-12">{$item.spec_title}</div>
                    </td>
                    <td>
                        <div class="col-xs-12">{$item.num}</div>
                    </td>
                    <td>
                        <div class="col-xs-12">{$item.price}</div>
                    </td>
<!--                    <td>-->
<!--                        <div class="col-xs-12">{$item.can_coin}%</div>-->
<!--                    </td>-->
<!--                    <td>-->
<!--                        <div class="col-xs-12">-->
<!--                            {if $item['is_vip']}-->
<!--                            <label class="label label-success">可升级</label>-->
<!--                            {else/}-->
<!--                            <label class="label label-danger">不升级</label>-->
<!--                            {/if}-->
<!--                        </div>-->
<!--                    </td>-->
<!--                    <td>-->
<!--                        <div class="col-xs-12">{$item.send_coin}</div>-->
<!--                    </td>-->
<!--                    <td>-->
<!--                        <div class="col-xs-12">{$item.send_sugar}</div>-->
<!--                    </td>-->
                </tr>
                {/foreach}
                </tbody>

            </table>
        </div>
    </div>

</form>

<!-- Select2 -->
<script src="__PUBLIC__/vendors/select2/js/select2.min.js"></script>
<script src="__PUBLIC__/vendors/jquery.validation/jquery.validate.min.js"></script>
<script src="__PUBLIC__/vendors/jquery.validation/additional-methods.js"></script>
<script src="__PUBLIC__/vendors/jquery.validation/messages_zh.min.js"></script>
